<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            position: relative;
        }

        #a3 {

            text-decoration: none;
            color: orange;
            display: none;
            font-size: 50px;
            position: absolute;
            left: 400px;
            top: 300px;
        }

        * {
            padding: 0;
            margin: 0;
            list-style: none;
            font-size: 14px;
        }

        div {
            width: 300px;
            background-color: #eee;
            margin: 200px auto;
        }

        p {
            width: 150px;
            padding: 10px 10px;
            margin-left: 50px;
        }

        input {
            cursor: pointer;
            margin: 30px;
        }

        #btn1 {
            margin-left: 50px;
        }
    </style>
</head>

<body>
    <a href="#" class="a3" id="a3">5秒返回</a>
    <div id="box">
        <p>商品: 洗衣机</p>
        <p>原价：9980元</p>
        <p>现价：9.88元</p>
        <p>作用：洗衣服</p>
        <p>地址：xx国xx省xx市xx县xx乡</p>
        <input type="button" id="btn1" class="btn1" value="取消">
        <input type="button" id="btn2" class="btn2" value="支付">
    </div>
</body>

</html>
<script>
    var a3 = document.getElementById('a3')
    var div = document.getElementsByTagName('box')
    var btn1 = document.getElementById('btn1')
    btn1.onclick = function () {
        box.style.display = 'none'
        a3.style.display = 'block'
    }
    a3.onclick = function () {
        box.style.display = 'block'
        a3.style.display = 'none'
    }
    var btn2 = document.getElementById('btn2')
    btn2.onclick = function () {
        if (window.confirm('确定支付')) {
            location.href = './daojishi10s1.html'
        }
    }

    /*
        插件 Fatkun 浏览器图片插件 比特虫 网页头部icon图片
        https://www.crsky.com/soft/340314.html
        https://chrome.zzzmh.cn/#ext
   */
</script>